﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ProblemReportNew.aspx.cs" Inherits="WXYW.NewProblemReport" ValidateRequest="false" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="Ajax" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    添加资料/故障
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <div style="width: 100%">
        <ajax:tabcontainer id="ProviderInfoTabContainer" runat="server" activetabindex="0"
            width="100%">
            <Ajax:TabPanel runat="server" HeaderText="故障报告" ID="ProblemTabPanel">
                <ContentTemplate>
                    <table width="100%" style="line-height:25px">
                        <tr>
                            <td style="width:12%">报告类型:</td>
                            <td style="width:31%"><asp:DropDownList ID="reportTypeDDL" runat="server" 
                                    DataTextField="Name" DataValueField="ID"></asp:DropDownList><span style="color:Red">*</span></td>
                            <td style="width:12%">产品线:</td>
                            <td style="width:45%"><asp:DropDownList ID="productLineTypeDDL" runat="server" 
                                    DataTextField="Name" DataValueField="ID"></asp:DropDownList><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td>故障类型:</td>
                            <td><asp:DropDownList ID="problemTypeDDL" runat="server" DataTextField="Name" 
                                    DataValueField="ID"></asp:DropDownList><span style="color:Red">*</span></td>
                            <td>故障原因:</td>
                            <td><asp:TextBox ID="problemReasonTxtBox" runat="server" Width="90%"></asp:TextBox><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td>产品型号:</td>
                            <td><asp:TextBox ID="productModelTxtBox" runat="server" Width="90%"></asp:TextBox><span style="color:Red">*</span></td>
                            <td>产品版本:</td>
                            <td><asp:DropDownList ID="productVersionDDL" runat="server" DataTextField="Name" 
                                    DataValueField="ID"></asp:DropDownList><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td>报告主题:</td>
                            <td><asp:TextBox ID="subjectTxtBox" runat="server" Width="90%" TextMode="MultiLine" Rows="3"></asp:TextBox><span style="color:Red">*</span></td>
                            <td>客户描述/故障现象:</td>
                            <td><asp:TextBox ID="descriptionTxtBox" runat="server" Width="95%" TextMode="MultiLine" Rows="3"></asp:TextBox><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td>查看权限:</td>
                            <td>
                                <asp:RadioButtonList ID="SecurityRadioButtonList" runat="server">
                                    <asp:ListItem Text="DCN" Value="DCN" Selected="True"></asp:ListItem>
                                    <asp:ListItem Text="ASC" Value="ASC"></asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                            <td>解决方案:</td>
                            <td><asp:TextBox ID="solutionTxtBox" runat="server" Width="95%" TextMode="MultiLine" Rows="3"></asp:TextBox><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td colspan="4" align="center"><asp:Button ID="NewProblemBtn" runat="server" 
                                    Text="保存" Width="80px" onclick="NewProblemBtn_Click" /></td>
                        </tr>
                    </table>
                </ContentTemplate>
            </Ajax:TabPanel>
            <Ajax:TabPanel runat="server" HeaderText="资料报告" ID="ZLTabPanel">
                <ContentTemplate>
                    <table width="100%" style="line-height:25px">
                        <tr>
                            <td style="width:15%">报告类型:</td>
                            <td style="width:25%"><asp:DropDownList ID="reportTypeDDL1" runat="server" 
                                    DataTextField="Name" DataValueField="ID"></asp:DropDownList><span style="color:Red">*</span></td>
                            <td style="width:15%">产品线:</td>
                            <td style="width:45%"><asp:DropDownList ID="productLineTypeDDL1" runat="server" 
                                    DataTextField="Name" DataValueField="ID"></asp:DropDownList><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td>产品型号:</td>
                            <td><asp:TextBox ID="productModelTxtBox1" runat="server" Width="90%"></asp:TextBox><span style="color:Red">*</span></td>
                            <td>产品版本:</td>
                            <td><asp:DropDownList ID="productVersionDDL1" runat="server" DataTextField="Name" 
                                    DataValueField="ID"></asp:DropDownList><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td>报告主题:</td>
                            <td colspan="3"><asp:TextBox ID="subjectTxtBox1" runat="server" Width="95%"></asp:TextBox><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td>查看权限:</td>
                            <td>
                                <asp:RadioButtonList ID="SecurityRadioButtonList1" runat="server">
                                    <asp:ListItem Text="DCN" Value="DCN" Selected="True"></asp:ListItem>
                                    <asp:ListItem Text="ASC" Value="ASC"></asp:ListItem>
                                </asp:RadioButtonList>
                            </td>
                            <td>解决方案:</td>
                            <td><asp:TextBox ID="solutionTxtBox1" runat="server" Width="95%" TextMode="MultiLine" Rows="3"></asp:TextBox><span style="color:Red">*</span></td>
                        </tr>
                        <tr>
                            <td colspan="4" align="center">
                                <asp:Button ID="NewReportBtn" runat="server" 
                                    Text="保存" Width="80px" onclick="NewReportBtn_Click" /></td>
                        </tr>
                    </table>
                </ContentTemplate>    
            </Ajax:TabPanel>
         </ajax:tabcontainer>         
    </div>
</asp:Content>
